package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/1/9.
 */

public class DrawListData {

    /**
     * msg : 操作成功
     * status : 0
     * data : {"code":0,"count":1,"data":[{"id":20,"userId":111,"userName":"test2","userPhone":"15006610057","orderSn":"12916541023","totalMoney":1,"money":2,"moneyType":1,"pro":1,"proMoney":1,"token":"0x708390B941b9DbaA74aBc66e34826cF2028Ea872","payStatus":1,"createTime":1546657366000,"updateTime":1546657358000,"endTime":null,"status":2,"msg":"","failMsg":"","content":"","proMoneyType":2,"txhash":null,"lohasUser":null,"statusStr":"处理中","payStatusStr":"成功","moneyTypeStr":"ETH","proMoneyTypeStr":"G12"}],"msg":""}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBeanX data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBeanX {
        /**
         * code : 0
         * count : 1
         * data : [{"id":20,"userId":111,"userName":"test2","userPhone":"15006610057","orderSn":"12916541023","totalMoney":1,"money":2,"moneyType":1,"pro":1,"proMoney":1,"token":"0x708390B941b9DbaA74aBc66e34826cF2028Ea872","payStatus":1,"createTime":1546657366000,"updateTime":1546657358000,"endTime":null,"status":2,"msg":"","failMsg":"","content":"","proMoneyType":2,"txhash":null,"lohasUser":null,"statusStr":"处理中","payStatusStr":"成功","moneyTypeStr":"ETH","proMoneyTypeStr":"G12"}]
         * msg :
         */

        private int code;
        private int count;
        private String msg;
        private List<DataBean> data;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean extends BaseAdapter.BaseItem {
            /**
             * id : 20
             * userId : 111
             * userName : test2
             * userPhone : 15006610057
             * orderSn : 12916541023
             * totalMoney : 1
             * money : 2
             * moneyType : 1
             * pro : 1
             * proMoney : 1
             * token : 0x708390B941b9DbaA74aBc66e34826cF2028Ea872
             * payStatus : 1
             * createTime : 1546657366000
             * updateTime : 1546657358000
             * endTime : null
             * status : 2
             * msg :
             * failMsg :
             * content :
             * proMoneyType : 2
             * txhash : null
             * lohasUser : null
             * statusStr : 处理中
             * payStatusStr : 成功
             * moneyTypeStr : ETH
             * proMoneyTypeStr : G12
             */

            private int id;
            private int userId;
            private String userName;
            private String userPhone;
            private String orderSn;
            private double totalMoney;
            private double money;
            private int moneyType;
            private double pro;
            private double proMoney;
            private String token;
            private int payStatus;
            private long createTime;
            private long updateTime;
            private long endTime;
            private int status;
            private String msg;
            private String failMsg;
            private String content;
            private int proMoneyType;
            private Object txhash;
            private Object lohasUser;
            private String statusStr;
            private String payStatusStr;
            private String moneyTypeStr;
            private String proMoneyTypeStr;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserPhone() {
                return userPhone;
            }

            public void setUserPhone(String userPhone) {
                this.userPhone = userPhone;
            }

            public String getOrderSn() {
                return orderSn;
            }

            public void setOrderSn(String orderSn) {
                this.orderSn = orderSn;
            }

            public double getTotalMoney() {
                return totalMoney;
            }

            public void setTotalMoney(double totalMoney) {
                this.totalMoney = totalMoney;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public int getMoneyType() {
                return moneyType;
            }

            public void setMoneyType(int moneyType) {
                this.moneyType = moneyType;
            }

            public double getPro() {
                return pro;
            }

            public void setPro(double pro) {
                this.pro = pro;
            }

            public double getProMoney() {
                return proMoney;
            }

            public void setProMoney(double proMoney) {
                this.proMoney = proMoney;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public int getPayStatus() {
                return payStatus;
            }

            public void setPayStatus(int payStatus) {
                this.payStatus = payStatus;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public long getEndTime() {
                return endTime;
            }

            public void setEndTime(long endTime) {
                this.endTime = endTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public String getFailMsg() {
                return failMsg;
            }

            public void setFailMsg(String failMsg) {
                this.failMsg = failMsg;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getProMoneyType() {
                return proMoneyType;
            }

            public void setProMoneyType(int proMoneyType) {
                this.proMoneyType = proMoneyType;
            }

            public Object getTxhash() {
                return txhash;
            }

            public void setTxhash(Object txhash) {
                this.txhash = txhash;
            }

            public Object getLohasUser() {
                return lohasUser;
            }

            public void setLohasUser(Object lohasUser) {
                this.lohasUser = lohasUser;
            }

            public String getStatusStr() {
                return statusStr;
            }

            public void setStatusStr(String statusStr) {
                this.statusStr = statusStr;
            }

            public String getPayStatusStr() {
                return payStatusStr;
            }

            public void setPayStatusStr(String payStatusStr) {
                this.payStatusStr = payStatusStr;
            }

            public String getMoneyTypeStr() {
                return moneyTypeStr;
            }

            public void setMoneyTypeStr(String moneyTypeStr) {
                this.moneyTypeStr = moneyTypeStr;
            }

            public String getProMoneyTypeStr() {
                return proMoneyTypeStr;
            }

            public void setProMoneyTypeStr(String proMoneyTypeStr) {
                this.proMoneyTypeStr = proMoneyTypeStr;
            }
        }
    }
}
